package com.campus.constant;

/**
 * 信息常量类
 */
public class MessageConstant {

    public static final String ALREADY_EXISTS = "已存在";
    public static final String UNKNOWN_ERROR = "未知错误";

    /**
     * 账号相关常量
     */
    //用户不存在 请先注册
    public static final String ACCOUNT_NOT_FOUND = "用户不存在 请先注册";

    public static final String ACCOUNT_LOCKED = "账号被锁定 请联系管理员";

    //密码错误
    public static final String PASSWORD_ERROR = "密码错误";

    //用户名已被使用
    public static final String USERNAME_ALREADY_EXISTS = "用户名已被使用";


    /**
     * 自习室相关常量
     */
    public static final String STUDYROOM_NAME_ALREADY_EXISTS = "该自习室名称已存在";

    //处于被预约状态的图书馆自习室不能删除
    public static final String STUDYROOM_IS_RESERVED = "处于被预约状态的自习室不能删除";
    public static final String STUDYROOM_NOT_FOUND = "该自习室不存在";
    public static final String EQUIPMENT_IS_RESERVED = "处于被预约状态的设备不能删除";

    public static final String EQUIPMENT_NOT_FOUND = "该设备不存在";

    /**
     * 体育场馆相关常量
     */
    public static final String VENUE_NAME_ALREADY_EXISTS = "体育场馆名称已存在";
    public static final String VENUE_NOT_FOUND = "体育场馆不存在";
    public static final String VENUE_IS_RESERVED = "处于被预约状态的体育场馆不能删除";

    public static final String OLD_PASSWORD_ERROR = "旧密码错误";
    public static final String EQUIPMENT_NAME_EXISTS = "设备名称已存在";
    public static final String SHOP_NOT_FOUND = "店铺不存在";
    public static final String UPLOAD_FAILED = "文件上传失败";

    /**
     * 班车相关常量
     */
    public static final String BUS_STATUS_OPERATION_DELETE= "运营中的班车不能删除" ;

    public static final String BUS_NOT_FOUND = "班车不存在";
    public static final String BUS_STATUS_OPERATION_UPDATE = "运营中的班车不可编辑";

    /**
     * 帖子相关常量
     */
    public static final String POST_NOT_FOUND = "帖子不存在";
    public static final String POST_STATUS_ERROR = "只有待审核的帖子可以编辑";

    /**
     * 课程相关常量
     */
    public static final String EXCEL_DATA_EMPTY = "Excel数据为空！请检查！";

    public static final String EXCEL_HEADER_ERROR = "表头格式错误！请使用标准模板！";
    public static final String EXCEL_PARSE_ERROR = "Excel数据解析错误";
    public static final String FILE_NOT_FOUND = "文件找不到";
}
